package com.iyundao.io.mapper;

import com.iyundao.io.model.UserDept;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;

public interface UserDeptMapper {
    @Insert({
        "insert into user_dept (uid, did)",
        "values (#{uid,jdbcType=CHAR}, #{did,jdbcType=CHAR})"
    })
    int insert(UserDept record);

    @InsertProvider(type=UserDeptSqlProvider.class, method="insertSelective")
    int insertSelective(UserDept record);
}